home *** CD-ROM | disk | FTP | other *** search
- Path: bcarh8ab.bnr.ca!hwt
- From: hwt@bnr.ca (Henry Troup)
- Newsgroups: comp.lang.c
- Subject: Re: Leap Years
- Date: 21 Feb 1996 21:56:23 GMT
- Organization: Northern Telecom Nortel Broadband Networks, Ottawa, Canada
- Message-ID: <4gg4e7$rpp@bcarh8ab.bnr.ca>
- References: <8BA8405.02C70020E1.uuout@sourcebbs.com> <4fsk14$jo2@kocrsv08.delcoelect.com> <3121EF9A.CA5@mail.isd.net>
- Reply-To: hwt@bnr.ca
- NNTP-Posting-Host: bcarhd7b.bnr.ca
-
- >> david.mohorn@sourcebbs.com (DAVID MOHORN) wrote:
- >> >How do you feature out leap years? If its evenly divisible by 400 and
- >> >4?
-
- See the .sig appended...
-
- Extracted from an ISO standard, btw.
-
- For all the time that computers have been around, and for the next century
- (yy mod 4) == 0 has been adequate.
-
- See the www year2000 page: http://www.year2000.com for lots more.
- --
- Henry Troup - hwt@bnr.ca (Canada) - Nortel is not committed to anything I say
- Leap years are years where the year number is a multiple of four with the
- exception: If a year is a multiple of 100, then it is only a leap year if it
- is also a multiple of 400. For example, 1900 was not a leap year, but 2000 is.
-